<?php
class Apps_View_Helper_LabelCountryArticleType extends Apps_View_Helper_LabelBase {
    public $map = array(
        M_DbTable_Article::COUNTRY_ARTICLE_TYPE_GENERAL_INFORMATION => array('General Information', 'label-warning a'),
        M_DbTable_Article::COUNTRY_ARTICLE_TYPE_TRAVEL_DESTINATION	=> array('Travel Destination', 'label-important'),
        M_DbTable_Article::COUNTRY_ARTICLE_TYPE_TRAVEL_NEWS			=> array('Travel News', 'label-success'),
        M_DbTable_Article::COUNTRY_ARTICLE_TYPE_TRAVEL_TIPS	        => array('Travel Tips', 'label-info')
    );

    public function labelCountryArticleType($type, $label=true) {
        return $this->map($type, $label);
    }
}